import { PlusOutlined } from '@ant-design/icons';
import { MouseEventHandler } from 'react';
import './add-button.less';
import './button.less';
export function AddButton(props: {name: string, onclick?: MouseEventHandler}) {
    return (
        <div className="btn add-btn no-border-btn primary-btn" onClick={props.onclick}>
            <span className="add-btn-icon"><PlusOutlined /></span>
            {props.name}
        </div>
    );
}